package com.ruoyi.report.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 *  报告展示列维护对象 report_showtable_column
 *
 * @author ruoyi
 * @date 2023-06-25
 */
public class ReportShowtableColumn extends BaseEntity
{
        private static final long serialVersionUID = 1L;

        /** 表格列主键 */
        private Long showColumnId;

        /** 表格列名称 */
        @Excel(name = "表格列名称")
        private String showColumnName;

        /** 原始列Id */
        @Excel(name = "原始列Id")
        private Long baseColumnId;

        /** 表格名称 */
        @Excel(name = "表格名称")
        private String tableName;

        /** 表格Id */
        @Excel(name = "表格Id")
        private Long tableId;

        /** 列排序 */
        @Excel(name = "列排序")
        private Long columnSort;

        /** 删除标志位-1启用 其他为删除 */
        @Excel(name = "删除标志位-1启用 其他为删除")
        private String enable;

        private ReportTablebaseColumn baseColumn;
        private String columnKey;
        public void setShowColumnId(Long showColumnId)
        {
                this.showColumnId = showColumnId;
        }

        public Long getShowColumnId()
        {
                return showColumnId;
        }
        public void setBaseColumnId(Long baseColumnId)
        {
                this.baseColumnId = baseColumnId;
        }

        public Long getBaseColumnId()
        {
                return baseColumnId;
        }
        public void setTableName(String tableName)
        {
                this.tableName = tableName;
        }

        public String getTableName()
        {
                return tableName;
        }
        public void setTableId(Long tableId)
        {
                this.tableId = tableId;
        }

        public Long getTableId()
        {
                return tableId;
        }
        public void setColumnSort(Long columnSort)
        {
                this.columnSort = columnSort;
        }

        public Long getColumnSort()
        {
                return columnSort;
        }
        public void setEnable(String enable)
        {
                this.enable = enable;
        }

        public String getEnable()
        {
                return enable;
        }

        @Override
        public String toString() {
                return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                        .append("showColumnId", getShowColumnId())
                        .append("showColumnName", getShowColumnName())
                        .append("baseColumnId", getBaseColumnId())
                        .append("tableName", getTableName())
                        .append("tableId", getTableId())
                        .append("columnSort", getColumnSort())
                        .append("createBy", getCreateBy())
                        .append("createTime", getCreateTime())
                        .append("updateBy", getUpdateBy())
                        .append("updateTime", getUpdateTime())
                        .append("remark", getRemark())
                        .append("enable", getEnable())
                        .append("baseColumn", getBaseColumn())
                        .toString();
        }

        public String getShowColumnName() {
                return showColumnName;
        }

        public void setShowColumnName(String showColumnName) {
                this.showColumnName = showColumnName;
        }

        public ReportTablebaseColumn getBaseColumn() {
                return baseColumn;
        }

        public void setBaseColumn(ReportTablebaseColumn baseColumn) {
                this.baseColumn = baseColumn;
        }

        public String getColumnKey() {
                return columnKey;
        }

        public void setColumnKey(String columnKey) {
                this.columnKey = columnKey;
        }
}
